package com.javaee.service;

import com.javaee.entity.Activity;

import java.util.List;

public interface ActivitiesService {

    //活动创建
    public boolean create(Activity activity);

    //活动编辑
    public boolean update(Activity activity);

    //活动发布
    public boolean publish(int id);

    //活动查询
    public List<Activity> getByStatus(int Status);

    public List<Activity> getByName(String name);
}
